package com.chen.function;

import java.util.function.Function;

// Function函数式接口
public class FunctionTest1 {
    public static void main(String[] args) {

        Function<String, String> function = (str) -> {
            return str;
        } ;

        System.out.println(function.apply("abcdefg"));

    }
}
